From: Glenn Morris Date: Mon, 29 Jul 2002 13:52:57 +0000 (+0000) Subject: (scroll-all-mode): Make argument optional. Add to doc string. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31323 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=17b1715adca27420a5532c2848e655afb3bf41e5;p=emacs.git (scroll-all-mode): Make argument optional. Add to doc string. --- diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el index 9092cfa7525..734a83bacef 100644 --- a/lisp/scroll-all.el +++ b/lisp/scroll-all.el @@ -122,8 +122,11 @@ use either \\[customize] or the function `scroll-all-mode'." ;;;###autoload -(defun scroll-all-mode (arg) - "Toggle Scroll-All minor mode." +(defun scroll-all-mode (&optional arg) + "Toggle Scroll-All minor mode. +With ARG, turn Scroll-All minor mode on if ARG is positive, off otherwise. +When Scroll-All mode is on, scrolling commands entered in one window +apply to all visible windows in the same frame." (interactive "P") (setq scroll-all-mode (if (null arg) (not scroll-all-mode)